package com.twu.biblioteca;

import java.io.BufferedReader;
import java.io.IOException;

public class UserInputReader {

    private BufferedReader bufferedReader;
    private String userInput;

    public UserInputReader(BufferedReader bufferedReader) {
        this.bufferedReader = bufferedReader;
    }

    public String readUserInput() throws IOException {
        userInput = bufferedReader.readLine();
        return userInput;

    }
}
